#include <stdio.h>

int count(int target, int value)
{
	if (target == 0)return 1;
	if (target<0) return 0;
	if (target >=1 && value<=0)return 0;
	return count(target, value-1)+count(target-value, value);
}
int main()
{
	int value=99, target = 100, i, j;
	//for (i=0; i<100; i++)value[i]=i+1;
	printf("%d\n", count(target, value));
	int table[101][100];
	for (i=0; i<99; i++)table[0][i]=1;
	for (i=1; i<100; i++)table[i][0]=0;
	for (i=1; i<=target; i++) {
		for (j=1; j<=value; j++) {
			table[i][j] = table[i-j][j]+table[i][j-1];
			
		}
	}
	printf("%d\n", table[99][98]);
}
